package com.ruoyi.project.wceimms.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 装置送检接收单主单（Inspection Receipt Form）对象 wceimms_irf_main
 * 
 * @author hanl
 * @date 2025-02-06
 */
public class WceimmsIrfMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 接收单ID */
    private Long irfMainId;

    /** 编号 */
    @Excel(name = "编号")
    private String irfCode;

    /** 单号 */
    @Excel(name = "单号")
    private String irfNumber;

    /** 送检单位名称 */
    @Excel(name = "送检单位名称")
    private String submitUnitName;

    /** 送检单位编码 */
    @Excel(name = "送检单位编码")
    private String submitUnitCode;

    /** 送检人 */
    @Excel(name = "送检人")
    private String submitter;

    /** 送检人电话 */
    @Excel(name = "送检人电话")
    private String submitterPhone;

    /** 送检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "送检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitDate;

    /** 现场接收人名称 */
    @Excel(name = "现场接收人名称")
    private String receiverName;

    /** 现场接收人ID */
    @Excel(name = "现场接收人ID")
    private String receiverId;

    /** 接收负责人名称 */
    @Excel(name = "接收负责人名称")
    private String supervisorName;

    /** 接收负责人ID */
    @Excel(name = "接收负责人ID")
    private String supervisorId;

    /** 接收联系电话 */
    @Excel(name = "接收联系电话")
    private String supervisorPhone;

    /** 单据状态 */
    @Excel(name = "单据状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    private List<WceimmsIrfDetail> detailList;

    public void setIrfMainId(Long irfMainId) 
    {
        this.irfMainId = irfMainId;
    }

    public Long getIrfMainId() 
    {
        return irfMainId;
    }
    public void setIrfCode(String irfCode) 
    {
        this.irfCode = irfCode;
    }

    public String getIrfCode() 
    {
        return irfCode;
    }
    public void setIrfNumber(String irfNumber) 
    {
        this.irfNumber = irfNumber;
    }

    public String getIrfNumber() 
    {
        return irfNumber;
    }
    public void setSubmitUnitName(String submitUnitName) 
    {
        this.submitUnitName = submitUnitName;
    }

    public String getSubmitUnitName() 
    {
        return submitUnitName;
    }
    public void setSubmitUnitCode(String submitUnitCode) 
    {
        this.submitUnitCode = submitUnitCode;
    }

    public String getSubmitUnitCode() 
    {
        return submitUnitCode;
    }
    public void setSubmitter(String submitter) 
    {
        this.submitter = submitter;
    }

    public String getSubmitter() 
    {
        return submitter;
    }
    public void setSubmitterPhone(String submitterPhone) 
    {
        this.submitterPhone = submitterPhone;
    }

    public String getSubmitterPhone() 
    {
        return submitterPhone;
    }
    public void setSubmitDate(Date submitDate) 
    {
        this.submitDate = submitDate;
    }

    public Date getSubmitDate() 
    {
        return submitDate;
    }
    public void setReceiverName(String receiverName) 
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName() 
    {
        return receiverName;
    }
    public void setReceiverId(String receiverId) 
    {
        this.receiverId = receiverId;
    }

    public String getReceiverId() 
    {
        return receiverId;
    }
    public void setSupervisorName(String supervisorName) 
    {
        this.supervisorName = supervisorName;
    }

    public String getSupervisorName() 
    {
        return supervisorName;
    }
    public void setSupervisorId(String supervisorId) 
    {
        this.supervisorId = supervisorId;
    }

    public String getSupervisorId() 
    {
        return supervisorId;
    }
    public void setSupervisorPhone(String supervisorPhone) 
    {
        this.supervisorPhone = supervisorPhone;
    }

    public String getSupervisorPhone() 
    {
        return supervisorPhone;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<WceimmsIrfDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<WceimmsIrfDetail> detailList) {
        this.detailList = detailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("irfMainId", getIrfMainId())
            .append("irfCode", getIrfCode())
            .append("irfNumber", getIrfNumber())
            .append("submitUnitName", getSubmitUnitName())
            .append("submitUnitCode", getSubmitUnitCode())
            .append("submitter", getSubmitter())
            .append("submitterPhone", getSubmitterPhone())
            .append("submitDate", getSubmitDate())
            .append("receiverName", getReceiverName())
            .append("receiverId", getReceiverId())
            .append("supervisorName", getSupervisorName())
            .append("supervisorId", getSupervisorId())
            .append("supervisorPhone", getSupervisorPhone())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
